<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.org/ui">
	<h:form id="frmMenu" prependId="false">
		<p:menubar autoDisplay="true" style="width:99%">
			<p:menuitem value="#{msgs['label.menu.start']}" action="/main/principal?faces-redirect=true" />
			<p:submenu label="#{msgs['label.menu.register']}">
				<p:menuitem value="#{msgs['label.user']}" action="/pages/user?faces-redirect=true" />
			</p:submenu>
			<p:submenu label="#{msgs['label.solicit']}">
				<p:menuitem value="#{msgs['label.serviceOrder']}" action="/pages/serviceOrder?faces-redirect=true" />
				<p:menuitem value="#{msgs['label.accompaniment']}" action="/pages/accompaniment?faces-redirect=true" />
			</p:submenu>
			<p:menuitem value="#{msgs['label.menu.quit']}" action="#{loginBean.logout}" immediate="true"/>
			<p:menuitem value="Login" action="#{loginBean.login}" immediate="true"/>
		</p:menubar>
	</h:form>
</ui:composition>
